home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextFieldPosToXY.z / XmTextFieldPosToXY
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY - A TextField function that accesses the
  10.           x and y position of a character position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/TextF.h>
  14.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ppppoooossssiiiittttiiiioooonnnn,
  17.           PPPPoooossssiiiittttiiiioooonnnn ****xxxx,
  18.           PPPPoooossssiiiittttiiiioooonnnn ****yyyy);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY accesses the _x and _yposition, relative to
  25.           the upper left corner of the TextField widget, of a given
  26.           character position in the text buffer.
  27.  
  28.           _w_i_d_g_e_t    Specifies the TextField widget ID
  29.  
  30.           _p_o_s_i_t_i_o_n  Specifies the character position in the text for
  31.                     which the _x and _yposition is accessed. This is an
  32.                     integer number of characters from the beginning of
  33.                     the buffer. The first character position is 0.
  34.  
  35.           _x         Specifies the pointer in which the _x position is
  36.                     returned.  The returned position is the distance
  37.                     from the left side of the widget to the left
  38.                     border of the character.  This value is meaningful
  39.                     only if the function returns True.
  40.  
  41.           _y         Specifies the pointer in which the _y position is
  42.                     returned.  The returned position is the distance
  43.                     from the top of the widget to the character's
  44.                     baseline.  This value is meaningful only if the
  45.                     function returns True.
  46.  
  47.           For a complete definition of TextField and its associated
  48.           resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  49.  
  50.      RRRREEEETTTTUUUURRRRNNNN
  51.           This function returns True if the character position is
  52.           displayed in the TextField widget; otherwise, it returns
  53.           False, and no _x or _yvalue is returned.
  54.  
  55.      RRRREEEELLLLAAAATTTTEEEEDDDD
  56.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.